package cn.zhangxin.pethome.system.user.mapper;

import cn.zhangxin.pethome.system.user.domain.User;
import cn.zhangxin.pethome.base.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zx
 * @since 2023-01-11
 */
@Repository
public interface UserMapper extends BaseMapper<User> {
    //查询表中的电话
    User findPhone(String phone);
    //通过登录表的id查询 用户
    User findOneByLogininfoIdUser(Long logininfoId);

}
